package com.lanchetech.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lanchetech.bean.request.ActivityReq;
import com.lanchetech.bean.vo.ActivityVo;
import com.lanchetech.entity.Activity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ActivityMapper extends BaseMapper<Activity> {

    /**
     * 平台获取商家活动列表
     * @param req
     * @return
     */
    List<ActivityVo> getList(@Param("req") ActivityReq req);
}